
<form name="form">
<table>
	<tr align="center">
		<th width="40"><input type="checkbox" class="check" name="chkall" value="on" onclick="chkbox(this.form)"></th>
		<th width="40">序号</th>
		<th>地点</th>
		<th>工号</th>
		<th>姓名</th>
		<th></th>
		<th>性别</th>
		<th>职位</th>
		
		<th>手机</th>
		<th>短号</th>
		<th>分机</th>
		<th>电子邮件</th>
		<th>即时消息</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result]} 
	{[assign var="no" value="`$key+1`"]}
	<tr align="center" class="pblack" onMouseOver="this.style.backgroundColor='#D2E4FC'"
		onMouseOut="this.style.backgroundColor=''">
		<td><input type="checkbox" class="check" name="c_{[$item.id]}" value="{[$item.id]}"></td>
		<td width="35">{[$no]}</td>
		<td>{[$item.office_t]}</td>
		<td>{[$item.id]}</td>
		<td><a style="color: blue" href="javascript:void(0)" onclick="emp('{[$item.id]}')">{[$item.name]}</a></td>
		<td>{[if $item.vacation gt 0]}<a style="color:blue" href="javascript:void(0)" onclick="Common.dialog_view_('/t/admin/kq.php?do=Vacation.view&id={[$item.vacation]}&small=on', '请假信息', '650x420')" title="正在休假中" class="ui-icon ui-icon-calendar"></a>{[/if]}</td>
		<td>{[$item.sex_t]}</td>
		<td>{[$item.job]}</td>
		
		<td>{[if $item.mobile ne '']} <a style="color: blue" href="javascript:void(0)"
			onclick="Common.call2('{[$emp.exten]}', '{[$item.mobile]}')">{[$item.mobile|mobile]}</a>{[/if]}</td>
		<td>{[if $item.short ne '']} <a style="color: blue" href="javascript:void(0)"
			onclick="Common.call2('{[$emp.exten]}', '{[$item.short]}')">{[$item.short|mobile]}</a>{[/if]}</td>
		<td>{[if $item.exten ne '']}<a style="color: blue" href="javascript:void(0)"
			onclick="Common.call2('{[$emp.exten]}', '{[$item.exten]}')">{[$item.exten]}</a>{[/if]}</td>
		<td>{[if $item.email ne '']}<a style="color: blue" href="mailto:{[$item.email]}">{[$item.email]}</a>{[/if]}</td>
		<td>{[$item.im]}</td>
	</tr>
	{[/foreach]}
	<tr align="center">
		<td></td>
		<td colspan="4"><a style="color:blue" href="javascript:void(0)" onclick="Address.download(1)">下载(有头像)</a>
		<a style="color:blue" href="javascript:void(0)" onclick="Address.download(2)">下载</a>
		<a style="color:blue" href="javascript:void(0)" onclick="Address.foxmail()">下载Foxmail版</a></td>
		<td colspan="9"></td>
	</tr>
</table>
</form>
